﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmallERP.MODEL.FoundationModel;
using SmallERP.DAL;

namespace SmallERP.Bll.PinBan
{
    public class PaperTypeBLL
    {
        public static List<PaperType_Info> GetAllPaperType()
        {
            List<PaperType_Info> paperTypeList = new List<PaperType_Info>();
            //using (smallerpDataContext db = new smallerpDataContext())
            //{
            //    foreach (var pt in db.PaperType.ToList())
            //    {
            //        paperTypeList.Add(new PaperType_Info()
            //        {
            //            PaperTypeId = pt.PaperTypeId,
            //            PaperTypeName = pt.PaperTypeName
            //        });
            //    }
            //}
            return paperTypeList;
        }        
    }
}
